<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is index page">
<title>浙江在线保险网</title>
<style type="text/css">
<!--
.nav11 {font-size:14px; font-weight:bold; color:#FFF;}
.nav12 {font-size:13px; color: #666;}
.lid {font-size:12px; color: #FFF;}
.wb {font-size:16px; font-weight:bold; font-style:oblique; color: #FF9307;}
.wb2 {font-size:15px; color: #535353;}
.wb3 {font-size:12px; color: #A8A8A8;}
.wb4 {font-size:14px; color: #666;}
.but {font-size:14px;color: #FFF;background-repeat: no-repeat;}
.b1 {font-size:15px; font-family:"黑体", "微软雅黑"; color: #535353;}
.b2 {font-size:14px; color: #999;}
.h {font-size:15px; font-family:"黑体", "微软雅黑"; color: #F35300;}
.h2 {border-bottom:#999 1px dotted;}
.h3 {font-size:13px; font-family:"黑体", "微软雅黑"; color: #666;}
.h4 {font-size:13px; font-family:"黑体", "微软雅黑"; color:#FFF;}
.h5 {font-size:13px; font-family:"黑体", "微软雅黑"; color: #F35300;}
.h6 {font-size:13px; color: #666;}
.h7 {font-size:15px; font-family:"黑体", "微软雅黑"; font-weight:bold; color: #535353;}
.h8 {font-size:15px; font-family:"黑体", "微软雅黑"; font-weight:bold; font-style:oblique; color: #F30;}
-->
</style>
</head>

<body>
<div style="width:903px; margin:46px auto;"> 
 <div style="width:903px; height:52px;">
  <div style="width:126px; height:52px; overflow:hidden; float:left;"><img src="<%=request.getContextPath()%>/images/1.jpg"  /></div>
  <div style="width:764px; height:52px; overflow:hidden; margin-left:10px; float:left;"><img src="<%=request.getContextPath()%>/images/2.jpg" width="765" /></div>
 </div>
 <div class="nav11" style="width:893px; height:33px; line-height:33px; padding-left:10px; overflow:hidden; background-repeat:no-repeat; background-image:url(<%=request.getContextPath()%>/images/3.jpg); float:left;">
 <a href ="<%=request.getContextPath()%>/home/index!index.do">首页</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/question/indexQuestion!index.do" target="_blank">问吧</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/product/indexProduct!index.do" target="_blank">保险产品</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/agent/indexAgent!index.do" target="_blank">找营销员</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/caze/indexCaze!index.do" target="_blank">保险案例</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/agent/loginAgent!loginUI.do" target="_blank">营销员专区</a>
 &nbsp;&nbsp;&nbsp;&nbsp; <a href ="<%=request.getContextPath()%>/user/loginUser!loginUI.do" target="_blank">用户登录</a>
 </div>
 <div class="nav12" style="width:873px; height:28px; line-height:28px; padding-left:30px; background-image:url(<%=request.getContextPath()%>/images/4.jpg); overflow:hidden; float:left;">
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=0 " target="_blank">重大疾病</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=1 " target="_blank">商业医疗</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=2 " target="_blank">商业养老</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=3 " target="_blank">分红保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=4 " target="_blank">万能保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=5 " target="_blank">投资连结</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=6 " target="_blank">少儿保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=7 " target="_blank">女性保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=8 " target="_blank">旅游保险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=9 " target="_blank">定期寿险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=10" target="_blank">终身寿险</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
 <a href ="<%=request.getContextPath()%>/product/listByType!type.do?type=11" target="_blank">意外保险</a></div>
 
		<s:form namespace="/agent" >
		<h2><b><p align="center">显示经纪人详细信息</p></b></h2>
		<a href='<%=request.getContextPath()%>/agent/listAgent!list.do' >返回</a>		
		<table border="1" cellspacing="3" cellpadding="3" >
			<tr bgcolor="gray">
			<th>属性</th>
			<th>内容</th>
			</tr>
			<s:hidden name="agent.id" />
			
			<tr bgcolor="skyblue">
			<td>经纪人名字</td>
			<td><s:property value="%{agent.name}"/></td>
			</tr>
			<tr>
			<td>用户名</td>
			<td><s:property value="%{agent.userName}" /></td>
			</tr>
   			<tr>
   			<td>联系方式</td>
   			<td><s:property value="%{agent.phone}"/>
   			</td>
   			</tr>
   			<tr>
   			<td>所属公司</td>
   			<td><s:property value="%{agent.companyName}"/></td>
   			</tr>
   			<tr>
   			<td>保险证号</td>
   			<td><s:property value="%{agent.qualityNumber}"/></td>
   			</tr>
   			<tr>
   			<td>个人简介</td>
   			<td><s:property value="%{agent.agentProfile}" /></td>
   			</tr>
   			<tr>
   			<td>电子邮箱</td>
   			<td><s:property value="%{agent.email}"/></td>
   			</tr>
   			
   			<tr>
   			<td>地区</td>
   			<td>
   			<s:if test="%{agent.area==0}">杭州</s:if>
   			<s:elseif test="%{agent.area == 1}">宁波</s:elseif>
   			<s:elseif test="%{agent.area == 2}">温州</s:elseif>
   			<s:elseif test="%{agent.area == 3}">嘉兴</s:elseif>
   			<s:elseif test="%{agent.area == 4}">湖州</s:elseif>
   			<s:elseif test="%{agent.area == 5}">绍兴</s:elseif>
   			<s:elseif test="%{agent.area == 6}">金华</s:elseif>
   			<s:elseif test="%{agent.area == 7}">衢州</s:elseif>
   			<s:elseif test="%{agent.area == 8}">舟山</s:elseif>
   			<s:elseif test="%{agent.area == 9}">台州</s:elseif>
   			<s:elseif test="%{agent.area == 10}">丽水</s:elseif>
   			<s:else>浙江</s:else>
   			</td>
   			</tr>
   			
   			<tr>
   			<td>发帖数量</td>
   			<td><s:property value="%{agent.postNumber}" /></td>
   			</tr>
   			<tr>
   			<td>积分</td>
   			<td><s:property value="%{agent.score}" /></td>
   			</tr>
			<tr>
   			<td>照片</td>
   			<td><s:property value="%{agent.photo}" /></td>
   			</tr>
   			</table>
</s:form>
</body>
</html>